package sctu.edu.java.year2016.team01.zhuming.day20160522.chapter4_1;

/**  输入一个整数，判断它是奇数还是偶数。
 * Created by Administrator on 2016/5/22.
 */
import java.util.Scanner;
public class PanDuanJiOuShu {
        public static void main(String[] args){
            Scanner sc=new Scanner(System.in);
            System.out.println("请输入一个整数");
            int num=sc.nextInt();
            String m=(num%2==0)?  "偶数":"奇数";
            System.out.println(m);



        }
    }


